Skip to content

fix(config): the named cortex map lifts plugins and nli; 1.9.1 - #121

Merged
idapixl merged 1 commit into
masterfrom
fix/named-map-plugins
Sep 18, 2026
Merged

idapixl merged 1 commit into
masterfrom
fix/named-map-plugins

Conversation

@idapixl

@idapixl idapixl commented Sep 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • extractFromNamedCortexMap now lifts plugins and nli from the primary entry, the same way it lifts the provider fields. Before, only the legacy flat cortex: block passed them through, so a plugin declared under cortex.<agent>.plugins: in the agent.yaml that fozikio init writes never loaded — which defeats the trusted plugin path 1.9.0 added for repo-shipped plugins (A ledger namespace: consolidation off or non-rewriting, observe creating on link, and name/category/tags on observe #114).
  • Test: loadConfig over a temp agent.yaml in the named format asserts plugins, nli, collections_prefix and cognitive_tools all arrive. Red without the fix, green with it.
  • Version 1.9.1, CHANGELOG entry.

Test plan

  • npm run build
  • npm test (431 passing)
  • Tag v1.9.1 after merge; the publish workflow ships it

🤖 Generated with Claude Code

`extractFromNamedCortexMap` copied store/embed/llm, their option blocks and
the tool list from the primary entry, and nothing else. `plugins` and `nli`
live on CortexConfig beside those fields, so a repo that declared its own
plugin under `cortex.<agent>.plugins:` in the agent.yaml `fozikio init`
writes had it silently dropped: only the legacy flat `cortex:` block ever
carried the field through. 1.9.0 opened the trusted plugin path for exactly
this case (#114), so the config it is declared from has to reach the loader.

Co-Authored-By: Claude Opus 5 <[email protected]>
@idapixl
idapixl merged commit a0925da into master Sep 18, 2026
12 checks passed
@idapixl
idapixl deleted the fix/named-map-plugins branch September 18, 2026 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant